#include <QCoreApplication>
#include<iostream>
using namespace std;
int main()
{
    int sum=0;
    for(int i=7; i<=21; i++)
    sum+=i;
    cout <<sum;

    return 0;
}
